﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Structural
{
    /// <summary>
    /// Director know the logic, the logic is stable
    /// </summary>
    class Director
    {
        /// <summary>
        /// Builder uses a complex series of steps
        /// </summary>
        /// <param name="builder"></param>
        public void Construct(Builder builder)
        {
            builder.BuilderPartA();
            builder.BuilderPartB();            
        }
    }
}
